<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员注册-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="<?php echo _get_cfg_path('js')?>DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
</head>
<body>
<?php include_once(VIEWPATH."public/header.php");?>
<div class="mainbody" id="mainbody">
    <div id="register" class="container mrgB30">
        <div class="reg_title">忘记密码</div>
        <div class="register">
            <div class="reg-left">
                <img src="http://www.mobooker.com/upload/banner/register.jpg"/>
            </div>
            <!--reg-left-->
            <form id="afrm" action="/reg/forget" method="post">
            <div class="reg-right fr">
            	<div class="reg_top">
                	<a href="javascript:void(0);" id="xt_reg1" class="reg_tel curr"><i></i>找回密码</a>
                </div>
                <ul class="reg_con xt_reg1_rgn">
                    <li class="reg-user">
                        <input name="mobile" placeholder="手机" type="text" class="text2" id="mobile"/>
                        <!--<input name="" type="button" class="ru_but but" value="绑定手机"/>-->
                        <span class="ok"></span><span class="no">手机不能为空</span>
                    </li>
                    <li class="reg-code"><input name="code_phone" placeholder="验证码" type="text" class="text2" id="code_phone"/><input type="button" id="getCode" class="code_time" value="获取验证码"></li>
                    <li class="reg-pwd"><input name="password_phone" placeholder="新密码" type="password" class="text2" id="password_phone"/><span class="ok"></span><span class="no password_phone_error">登录密码不能少于 6 个字符</span></li>
                    <li class="reg-pwd1"><input name="repassword_phone"  placeholder="确定密码" type="password" class="text2" id="repassword_phone"/><span class="ok"></span><span class="no repassword_phone_error">两次密码不相同</span></li>
                </ul>
                <div class="reg_con xtmb-10"><input type="button" class="but forget_password" value="确 定"/>&nbsp;&nbsp;<span id="J_result_info"></span></div>
                <div class="iban_bot reg_bot">
                	<span class="iban_span">已有账号？</span><a class="iban_login" href="/user/login">立即登陆</a>
                	<!-- <span>您还可以用以下方式直接登录：</span>
                	<?php
						include_once( '../web/libweibo/config.php' );
						include_once( '../web/libweibo/saetv2.ex.class.php' );
						$weibo = array();
						$weibo = _get_config("weibo_app");
						$code_url = "";
						if ($weibo)
						{
							$o = new SaeTOAuthV2( $weibo["app_key"] , $weibo["app_sercet"] );
							$code_url = $o->getAuthorizeURL( "http://www.mobooker.com/auth/weibo" );
						}
					?>
                    <a href="<?=$code_url?>" title="微博登录" style="background:0;margin-top:10px;"><img src="/assets/src/images/weibo_32x32.png"/></a>
                    <a href="javascript:void(0);" onclick='toQzoneLogin()' title="QQ登录" style="background:0;margin-top:11px;width:auto;"><img style="width:auto;height:auto;" src="/assets/src/images/Connect_logo_7.png"></a> -->
                </div>
            </div>
            <!--reg-right-->
            <input type="hidden" name="version" value="phone" />
            </form>
        </div>
    </div>
</div>
<?php include_once(VIEWPATH."public/footer.php");?>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.easing-1.3.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.sly.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>sly.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.form.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>pages/user/forget.js"></script>
<script>
var childWindow;
function toQzoneLogin()
{
    childWindow = window.open("/user/login/qqlogin","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");

    wTimer=window.setInterval("closeChildWindow()",500);
} 

function closeChildWindow()
{
	if(childWindow.closed){ 
		window.location.href="/home";
	}
//     childWindow.close();
}

$(function(){
	$(".work_pdf").click(function(){
		window.open("../assets/src/pdf/工作条款.pdf","TencentLogin","width=600,height=500,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
	});
})
</script>
</body>
</html>